package org.magicat.bridge.serializer;

public interface BridgeSerializer {

	public byte[] serializeObject(Object obj);
	
	public byte[] serializeInt(int i);
	
	public byte[] serializeLong(long l);
	
	public byte[] serializeShort(short s);
	
	public byte[] serializeString(String string);
	
	public byte[] serializeBoolean(boolean b);
	
	public byte[] serializeChar(char c);
	
	public byte[] serializeFloat(float f);
	
	public byte[] serializeDouble(double d);
	
	
}
